package com.cty.tree;
/*
*
*
* 测试一下
* */
public class ArrBinaryTreeDemo {
    public static void main(String[] args) {
        int[] arr = {1, 2, 3, 4, 5, 6, 7};
        ArrBinaryTree arrBinaryTree = new ArrBinaryTree(arr);
        System.out.println("前序遍历~~~");
        arrBinaryTree.preOrder();
        System.out.println("中序遍历~~~");
        arrBinaryTree.midOrder();
        System.out.println("后序遍历~~~");
        arrBinaryTree.postOrder();
    }
}
